﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace SubstrateHelper.Models
{
    public class ProductionEntityCategory:SequenceBase
    {
        [Key]
        [Display(Name = "Id")]
        [Required(ErrorMessage = "不能为空！")]
        public int ID { get; set; }




        [Display(Name = "物料Id")]
        [Required(ErrorMessage = "不能为空！")]        
        public string ProductionEntityName { get; set; }


        
        public ProductionEntity ProductionEntity { get; set; }



        [Display(Name = "物料归类")]
        [Required(ErrorMessage = "不能为空！")]
        public string Category{ get; set; }
    }
}
